package pers.lance.easystruct1.action;

import pers.lance.easystruct1.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @ Author     ：LILA3
 * @ Date       ：Created in 7:46 PM 7/24/2018
 */
@RequestMapping(value = "/test", requestMethod = RequestMapping.RequestMethod.GET)
public class TestAction implements Action{
    @Override
    public void process(HttpServletRequest servletRequest, HttpServletResponse servletResponse) {
        try {
            servletResponse.getWriter().write("im zzzzzzzction");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
